import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/navbar',
      component: () => import('../views/Navbar.vue'),
    },
    {
      path: '/compa',
      component: () => import('../views/CompA.vue'),
    },
    {
      path: '/compb',
      component: () => import('../views/CompB.vue'),
    },
    {
      path: '/compc',
      component: () => import('../views/CompC.vue'),
    }
  ],
})

export default router
